import request from '@/js/request';

export default {
	// 业务订单
	queryBusinessOrder: (data) => request({
		method: 'GET',
		url: '/api/dev_business_order/index',
		data
	}),
	// 订单评价
	orderCommentSubmit: (data) => request({
		method: 'POST',
		url: '/api/dev_comment/submit',
		data
	}, {
		loading: '提交中...',
		isToast: true
	}),
	// 会员订单
	queryPaymentOrderVip: (data) => request({
		method: 'GET',
		url: '/api/dev_payment_order/vip',
		data
	}),
	// 服务订单
	queryPaymentOrderService: (data) => request({
		method: 'GET',
		url: '/api/dev_payment_order/service',
		data
	}),
	// 律师订单
	queryPaymentOrderLawyer: (data) => request({
		method: 'GET',
		url: '/api/dev_payment_order/lawyer',
		data
	})
}